package com.csvcn.android.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;

import com.csvcn.android.R;
import com.squareup.picasso.Picasso;

import butterknife.BindView;
import butterknife.ButterKnife;

public class PicassoActivity extends Activity {
    @BindView(R.id.iv_logo)
    ImageView mLogoImage;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_picasso);
        ButterKnife.bind(this);
        initView();
    }

    private void initView() {
        Picasso.with(this).load("http://i.imgur.com/DvpvklR.png").into(mLogoImage);
    }
}
